FROM alpine:3.13.6 AS final
WORKDIR /app/
ARG PROJECT_PATH
COPY ./${PROJECT_PATH}/argocd  /app/
RUN chmod +x /app/argocd
#COPY --from=builder /build/public/ /app/public/
#COPY --from=builder /build/template/ /app/template/
EXPOSE 8801
ENTRYPOINT ["/app/argocd"]